package cn.com.cnxfs.relaxchat;

import cn.com.cnxfs.relaxchat.controller.SubscribeSample;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("cn.com.cnxfs.relaxchat.dao")
public class RelaxchatWsApplication {

    public static void main(String[] args) {
        SpringApplication.run(RelaxchatWsApplication.class, args);
        System.out.println("spring boot服务已启动...");
        SubscribeSample.main(null);
        System.out.println("MQTT服务已启动...");
    }
}
